Skip to content

Authenticate to user scope .npmrc#14377

Merged
chidozieononiwu merged 2 commits intoAzure:mainfrom
chidozieononiwu:AuthenticateTempNpmrc
Mar 6, 2026
Merged

Authenticate to user scope .npmrc#14377
chidozieononiwu merged 2 commits intoAzure:mainfrom
chidozieononiwu:AuthenticateTempNpmrc

Conversation

@chidozieononiwu
Copy link
Member

  • Step for authenticating .npmrc

@chidozieononiwu chidozieononiwu requested a review from a team as a code owner March 5, 2026 23:00
Copilot AI review requested due to automatic review settings March 5, 2026 23:00
@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds an Azure Pipelines step template to create a temporary user-scoped .npmrc and authenticate it for subsequent npm operations.

Changes:

  • Creates a temp .npmrc by copying repo .npmrc (or creating an empty file if absent)
  • Sets NPM_CONFIG_USERCONFIG to point npm at the temp .npmrc
  • Runs npmAuthenticate@0 against the temp .npmrc

@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

Copy link
Member

@scbedd scbedd left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Net new file. Nothing jumping out at me.

@chidozieononiwu chidozieononiwu force-pushed the AuthenticateTempNpmrc branch from 4dffe85 to 54053d1 Compare March 5, 2026 23:43
@azure-sdk
Copy link
Collaborator

The following pipelines have been queued for testing:
java - template
java - template - tests
js - template
net - template
net - template - tests
python - template
python - template - tests
You can sign off on the approval gate to test the release stage of each pipeline.
See eng/common workflow

chidozieononiwu added a commit to Azure/azure-sdk-for-js that referenced this pull request Mar 6, 2026
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#14377 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
chidozieononiwu added a commit to Azure/azure-sdk-for-rust that referenced this pull request Mar 6, 2026
Sync eng/common directory with azure-sdk-tools for PR
Azure/azure-sdk-tools#14377 See [eng/common
workflow](https://github.com/Azure/azure-sdk-tools/blob/main/eng/common/README.md#workflow)

---------

Co-authored-by: Chidozie Ononiwu <chononiw@microsoft.com>
@chidozieononiwu chidozieononiwu merged commit 6526c0d into Azure:main Mar 6, 2026
4 of 6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants